﻿using Coldairarrow.Entity.BackStage.ConsumeChats;
using Coldairarrow.Util;
using Coldairarrow.Util.DTO;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.BackStage.ConsumeChats
{
    public interface IChatBusinessBusiness
    {
        Task<PageResult<ChatBusiness>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<ChatBusiness> GetTheDataAsync(string id);
        Task<List<SelectDTO>> GetBusnessListAsync();
        Task AddDataAsync(ChatBusiness data);
        Task UpdateDataAsync(ChatBusiness data);
        Task DeleteDataAsync(List<string> ids);
    }
}